Autogenerated HTML docs for v2.14.1-459-g238e4
diff --git a/git-diff-files.html b/git-diff-files.html index 527eb0f..893ae7a 100644 --- a/git-diff-files.html +++ b/git-diff-files.html
@@ -1117,6 +1117,74 @@ </p> </dd> <dt class="hdlist1"> +--color-moved[=<mode>] +</dt> +<dd> +<p> + Moved lines of code are colored differently. + The <mode> defaults to <em>no</em> if the option is not given + and to <em>zebra</em> if the option with no mode is given. + The mode must be one of: +</p> +<div class="openblock"> +<div class="content"> +<div class="dlist"><dl> +<dt class="hdlist1"> +no +</dt> +<dd> +<p> + Moved lines are not highlighted. +</p> +</dd> +<dt class="hdlist1"> +default +</dt> +<dd> +<p> + Is a synonym for <code>zebra</code>. This may change to a more sensible mode + in the future. +</p> +</dd> +<dt class="hdlist1"> +plain +</dt> +<dd> +<p> + Any line that is added in one location and was removed + in another location will be colored with <em>color.diff.newMoved</em>. + Similarly <em>color.diff.oldMoved</em> will be used for removed lines + that are added somewhere else in the diff. This mode picks up any + moved line, but it is not very useful in a review to determine + if a block of code was moved without permutation. +</p> +</dd> +<dt class="hdlist1"> +zebra +</dt> +<dd> +<p> + Blocks of moved text of at least 20 alphanumeric characters + are detected greedily. The detected blocks are + painted using either the <em>color.diff.{old,new}Moved</em> color or + <em>color.diff.{old,new}MovedAlternative</em>. The change between + the two colors indicates that a new block was detected. +</p> +</dd> +<dt class="hdlist1"> +dimmed_zebra +</dt> +<dd> +<p> + Similar to <em>zebra</em>, but additional dimming of uninteresting parts + of moved code is performed. The bordering lines of two adjacent + blocks are considered interesting, the rest is uninteresting. +</p> +</dd> +</dl></div> +</div></div> +</dd> +<dt class="hdlist1"> --word-diff[=<mode>] </dt> <dd>